/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.DesignPatterns.behavioral.command;

/**
 *
 * @author Nashief
 */
public class LunchCommand implements Command{
 
    Lunch lunch;

    public LunchCommand(Lunch lunch) {
        this.lunch = lunch;
    }

    public Lunch getLunch() {
        return lunch;
    }

    public void setLunch(Lunch lunch) {
        this.lunch = lunch;
    }
    
    
    
    @Override
    public void execute() {
        lunch.makeLunch();
    }
    
    
}
